public class SelectionSort implements Sorter {
	public SortResult sort(int[] array) {
		int[] a = array;
		int swaps = a.length - 1;
		for (int i = 0; i < array.length; i++)
			ArrayUtil.swap(i, ArrayUtil.minimumPosition(i, a), a);
		return new SortResult(a,swaps,0);
	}
}
